var defaultLangs = {
    addText: "新增",
    modifyText: "修改",
    deleteText: "删除",
    operateText: "操作",
    addWinText: "新增{0}",
    modifyWinText: "编辑{0}",
    unFillText:"有必填项未输入，请确认！",
    unFilledText:"【{0}】有必填项未输入，请确认！",
    saveMaskMessageText: "正在保存，请稍候...",
    saveText: "保存",
    cancelText: "取消",
    hintText: "温馨提示",
    deleteHintMessageText: "您确定要删除吗？",
    deleteMaskMessageText: "正在删除，请稍候...",
    okText: "确定",

   /*
    operateHintMessage:"请选择一条要操作的行项目!",
    queryMaskMessageText: "正在努力获取数据，请稍候...",
   */
};
if (EUI.Common) {
    EUI.Common.lang = EUI.applyIf({
        timeCompareText:"起始时间必须小于截止时间！",
        hintText: "提示",
        okText: "确定",
        paramErrorText:"参数不是字符串或者对象类型!",
    });
}
if (EUI.DocumentCategoryView) {
    EUI.DocumentCategoryView.prototype.lang = EUI.applyIf({
        documentCategoryText: "文档分类",
        searchText: "请输入代码或名称查询!",
        codeText: "代码",
        nameText: "名称",
        rankText: "排序"
    }, defaultLangs);
}

if (EUI.BusinessTypeView) {
    EUI.BusinessTypeView.prototype.lang = EUI.applyIf({
        businessTypeText: "业务类型",
        searchText: "请输入代码或名称查询!",
        codeText: "代码",
        nameText: "名称",
        archiveTypeRemarkText: "电子档案类型",
        displayUrlText: "业务单据显示地址"
    }, defaultLangs);
}

if (EUI.BusinessTypeView) {
    EUI.BusinessTypeView.prototype.lang = EUI.applyIf({
        businessTypeText: "业务类型",
        searchText: "请输入代码或名称查询!",
        codeText: "代码",
        nameText: "名称",
        archiveTypeRemarkText: "电子档案类型",
        displayUrlText: "业务单据显示地址"
    }, defaultLangs);
}
if (EUI.ArchiveView) {
    EUI.ArchiveView.prototype.lang = EUI.applyIf({
        orderNoText: "单据编号",
        businessTypeText: "业务类型",
        archiveNoteText: "说明",
        createdDateText:"创建时间",
        organizationNameText: "组织机构",
        corporationNameText: "公司",
        archiveText: "电子档案",
        myDraftText: "我的草稿",
        unbookText: "可成册",
        bookedText: "已成册",
        showArchiveText: "显示",
        refreshText:"刷新",
        dateStartText:"创建日期从：",
        toDateText:"到",
        advancedQueryText:"高级查询",
        includeOtherOrderText:'包含他人单据',
        effectHintMessageText: '您确定要生效吗？',
        effectMaskMessageText: '正在生效，请稍候...',
        effectText: "生效",
        uneffectHintMessageText: '您确定要解除生效吗？',
        uneffectMaskMessageText: '正在解除生效，请稍候...',
        uneffectText:"解除生效",
        searchDisplayText: "请输入单据编号或说明查询!"
    }, defaultLangs);
}

if (EUI.CreateArchiveFirstView) {
    EUI.CreateArchiveFirstView.prototype.lang = EUI.applyIf({
        createArchiveViewText: "创建电子档案",
        getDefaultHeadText:"正在获取抬头信息，请稍候...",
        corporationText: "公司",
        codeText: "代码",
        nameText: "名称",
        organizationNameText: "组织机构",
        businessTypeText: "业务类型",
        startToCreateText: "开始创建",
        returnBackText: "返回",
        archiveNoteText: "说明",
    }, defaultLangs);
}
if (EUI.CreateArchiveView) {
    EUI.CreateArchiveView.prototype.lang = EUI.applyIf({
        archiveText: "电子档案",
        returnBackText: "返回",
        recreateText:"重新创建",
        myDraftText: "我的草稿",
        createArchiveText: "创建电子档案",
        saveSuccessfullyText: "保存成功",
        continueToUpdateText: "继续修改",
        archiveBaseInfoText:"档案信息",
    }, defaultLangs);
}
if (EUI.archive && EUI.archive.ArchiveHead) {
    EUI.archive.ArchiveHead.prototype.lang = EUI.applyIf({
        createTimeText: "制单时间：",
        creatorText: "制单人：",
        corporationText: "公司",
        organizationNameText: "组织机构",
        archiveNoteText: "说明",
        businessTypeText: "业务类型",
        bookStatusRemarkText: "成册状态",
        orderNoText: "编号",
    }, defaultLangs);
}
if (EUI.archive && EUI.archive.ArchiveItemPanel) {
    EUI.archive.ArchiveItemPanel.prototype.lang = EUI.applyIf({
        scanText:"扫描",
        editWinText:"编辑",
        barCodeText:"条码",
        archiveItemNoteText:"说明",
        deleteConfirmText: "您确定要删除吗？",
        documentCategoryText: "文档分类",
        codeText: "代码",
        nameText: "名称",
        orderNoText: "编号",
        remarkText: "电子档案说明",
        archiveText: "电子档案",
    }, defaultLangs);
}
if (EUI.UpdateArchiveView) {
    EUI.UpdateArchiveView.prototype.lang = EUI.applyIf({
        archiveText: "电子档案",
        returnBackText: "返回",
        myDraftText: "我的草稿",
        updateArchiveText: "修改电子档案",
        saveSuccessfullyText: "保存成功",
        continueToUpdateText: "继续修改",
        archiveBaseInfoText:"档案信息",
    }, defaultLangs);
}
if (EUI.ShowArchiveView) {
    EUI.ShowArchiveView.prototype.lang = EUI.applyIf({
        archiveText: "电子档案",
        returnBackText: "返回",
        myDraftText: "我的草稿",
        updateArchiveText: "修改电子档案",
        saveSuccessfullyText: "保存成功",
        continueToUpdateText: "继续修改",
        archiveBaseInfoText:"档案信息",
        showArchiveText: "显示电子档案",
        unbookText: "可成册",
        bookedText: "已成册",
    }, defaultLangs);
}
if (EUI.BatchBindArchiveView) {
    EUI.BatchBindArchiveView.prototype.lang = EUI.applyIf({
        batchBindArchiveViewText: "批量上传",
        submitText: "提交",
        submitMaskMessageText:"正在提交，请稍后",
        continueToSubmitText: "继续提交",
        unbindHintText: "如果执行继续提交，未绑定到电子档案或者未识别条码的文件将会丢失，请确认!",
       /* ,

        updateArchiveText: "修改电子档案",
        saveSuccessfullyText: "保存成功",
        continueToUpdateText: "继续修改",
        archiveBaseInfoText:"档案信息",
        showArchiveText: "显示电子档案",
        unbookText: "可成册",
        bookedText: "已成册",*/
    }, defaultLangs);
}

if (EUI.ArchiveItemContentView) {
    EUI.ArchiveItemContentView.prototype.lang = EUI.applyIf({
        archiveItemContentText: "电子文档查询",
        contentText: "文档内容",
        showOrderText:"显示电子档案",
        searchText: "请输入文档内容关键字查询!",
        barCodeText:"条码",
        fileNameText:"文件名称",
        noteText:"说明",
        showArchiveText:"电子档案显示",
        orderNoText:"电子档案编号"
    }, defaultLangs);
}

